﻿using ERP.Workflow.Designer.BlazorUI.Core;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Workflow.Designer.BlazorUI.Components
{
    public interface IPropertyBox<T>
    {
        public T Data { get; set; }
        public void Refresh();
       // public event Action<PropertyChangeEventArg>? OnChange;

        [Parameter] public EventCallback<PropertyChangeEventArg> OnChange { get; set; }
    }
}
